<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>E-MBA云社群 2015你有啥梦想管理系统</title>
<link rel="shortcut icon" href="favicon.ico">
<link media="all" type="text/css" rev="stylesheet" rel="stylesheet" href="/Public/Home/css/login.css">
<script type="text/javascript" src="/Public/Home/Support/js/jquery-1.7.2.min.js"></script>
<script src="/Public/Home/js/js.js" type="text/javascript"></script>
<script src="/Public/Home/js/jquery.SuperSlide.js" type="text/javascript"></script>
</head>
<body>
<div class="header">
  <h1 class="headerLogo"><!-- <img src="/Public/images/logo.png" alt="EMBA云众筹"> -->EMBA云2015你有啥梦想</h1>
	<div class="headerNav">
	</div>
</div>
<div class="banner">
<div class="login-aside">
  <div id="o-box-up"></div>
  <div style="table-layout:fixed;" id="o-box-down">
   <div class="error-box"></div>
   <div class="fm-item">
	   <label class="form-label" for="logonId">系统登录：</label>
	   <input type="text" class="i-text"  name="account" id="account" maxlength="100" placeholder="请输入登录账号">    
       <div class="ui-form-explain"></div>
  </div>
  
  <div class="fm-item">
	   <label class="form-label" for="logonId">登录密码：</label>
	   <input type="password" class="i-text" name="user_password" id="user_password"  maxlength="100" value="">    
       <div class="ui-form-explain"></div>
  </div>
  
  
  <div class="fm-item">
  	   <label for="logonId" class="form-label"></label>
	   <input type="submit" onclick="checkLogin();return false;" class="btn-login" id="send-btn" tabindex="4" value="登录" tabindex="4"> 
       <div class="ui-form-explain"></div>
  </div>
  
  
  
  
  
  </div>

</div>

	<div id="inputstyle" class="bd">
		<ul style="position: relative; width: 1349px; height: 478px;">
			<li style="background: url(/Public/Home/images/theme-pic1.jpg) #0c5d39 center 0 no-repeat;"></li>
            <li style="background: url(/Public/Home/images/3c67339988.jpg) #0c5d39 center 0 no-repeat;"></li>
		</ul>
	</div>
</div>
<script type="text/javascript">jQuery(".banner").slide({ titCell:".hd ul", mainCell:".bd ul", effect:"fold",  autoPlay:true, autoPage:true, trigger:"click" });</script>

<div class="footer">
   <p>EMBA云众筹 版权所有 Copyright 2013 New Huadu Corporation, All Rights Reserved</p>
</div>

<script type="text/javascript" src="/Public/Home/js/artDialog4.1.7/artDialog.js"></script>
<script type="text/javascript" src="/Public/Home/js/artDialog4.1.7/plugins/iframeTools.js"></script>
<script type="text/javascript" src="/Public/Home/js/artDialog4.1.7/artDialog.config.js"></script>
<link rel="stylesheet" type="text/css" href="/Public/Home/js/artDialog4.1.7/skins/black.css"/>
<script type="text/javascript">
		$(document).ready(function(){
			//按回车出发登录提交事件
			$("body").keydown(function(event){
				if(event.keyCode == '13'){
					checkLogin();
				}
			});
		});
	
		function checkLogin(){
			var account = $.trim($("#account").val());
			var user_password = $.trim($("#user_password").val());
			if (account == '' || account == undefined) {
				art.dialog({time:1,content: '账号不能为空'});
				return false;
			}

			if(user_password == '' || user_password == undefined){
				art.dialog({time:1,content: '密码不能为空'});
				return false;
			}
			var json_data = {
				account : account,
				user_password : user_password
			};
			$.post("/Admin/login/?rand=" + Math.random(), json_data, function(data) {
/* console.log(data);
return false; */
				if (data.status ==0) {
					window.location.href= "/Admin/index";
				}else {
					art.dialog({time:1,content: data.info});
				}
				return false;
			}, "json");
	
		}
	</script>


</body></html>